<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gerenciamento Escola - Login</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>

	<div class="tablegrid">
	
	<div class="formHeader">Login</div>
	
	<div class="erroMsg">
			<c:if test="${not empty param.login}">
					<c:choose>
						<c:when test="${param.login eq 'invalid'}">
							Usuário Invalido.<br/>
							É necessário estar cadastro no Sistema.
						</c:when>
						<c:when test="${param.login eq 'logout'}">
							Logout realizado.
						</c:when>
					</c:choose>
			</c:if>
		</div>
	
	
	
	
		
		<form action="loginServlet" method="post">
			<table class="tableform" >
				<tr>
					<td colspan="2" class="celListCenter">
						<img class="icone" height="100px" src="img/login.jpeg"/>
					</td>
				</tr>
				<tr>
					<td class="nomeCampo" >Usuário:</td>
					<td ><input type="text" maxlength="30" size="30" name="loginUser"/></td>
				</tr>
				<tr>
					<td class="nomeCampo">Senha:</td>
					<td><input type="password" maxlength="60"  size="20" name="passwordUser" /></td>
				</tr>
				<tr>
					<td colspan="2" class="celListCenter">
					<input type="submit" value="Enviar" /><br/><br/></td>
				</tr>
			</table>
			
		</form>
	</div>
	
	


</body>
</html>